<!--
 * @Author: liaoyu1992 1519778181@qq.com
 * @Date: 2022-11-03 23:12:39
 * @LastEditors: liaoyu1992 1519778181@qq.com
 * @LastEditTime: 2022-11-11 21:59:48
 * @FilePath: \kgantt\core\components\calendar\TopPartOfCalendar.vue
 * @Description: 头部区域
-->
<template>
    <g class="kgantt-calendarTop">
        <line :key="value + 'line'" :x1="x1Line" :y1="y1Line" :x2="x1Line" :y2="y2Line" class="kgantt-calendarTopTick" />
        <text :key="value + 'text'" :x="xText" :y="yText" class="kgantt-calendarTopText">{{ value }}</text>
    </g>
</template>
<script lang="ts" setup>
defineProps({
    value: String,
    x1Line: Number,
    y1Line: Number,
    y2Line: Number,
    xText: Number,
    yText: Number
});
</script>